import React, { Component } from 'react';
import BaseLayout from "./BaseLayout/BaseLayout";
import {BrowserRouter} from "react-router-dom";
class App extends Component{
  constructor(props) {
    super(props);
    this.state={
      name:"React"
    }
  }
  render() {
    return <div>
      {/*子组件*/}
      <BrowserRouter>
        <BaseLayout></BaseLayout>
      </BrowserRouter>
    </div>
  }

}
export default App;
